GtkColorEditor: Initialize the allocation x/y
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Jun 2014 02:38:13 +0000 (22:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Jun 2014 02:38:13 +0000 (22:38 -0400)
gtk/gtkcoloreditor.c

index 3403d3d88d800002ec50db358c0f20dea26ef536..c647b8c5f2741dc4693386b285808e8d271d6721 100644 (file)
@@ -245,6 +245,8 @@ get_child_position (GtkOverlay     *overlay,
 
   gtk_widget_get_preferred_size (widget, &req, NULL);
 
+  allocation->x = 0;
+  allocation->y = 0;
   allocation->width = req.width;
   allocation->height = req.height;